package com.lianzai.user.service;

import com.lianzai.common.utils.R;
import com.lianzai.user.domain.UserInfoDO;

import java.util.List;
import java.util.Map;

/**
 * 用户表
 * 
 * @author zb
 * @email 1106900429@qq.com
 * @date 2018-10-17 23:16:32
 */
public interface UserInfoService {
	
	UserInfoDO get(Long id);
	
	List<UserInfoDO> list(Map<String, Object> map);

	UserInfoDO getByWxOpenId(String openId);
	
	int count(Map<String, Object> map);
	
	int save(UserInfoDO userInfo);
	
	int update(UserInfoDO userInfo);
	
	int remove(Long id);

	int enable(Long id,Long status);

	int batchRemove(Long[] ids);

	R registerWxUser(String mobile, String openid);
}
